package com.woniu.adminservice.service.impl;

import com.woniu.adminservice.feignclient.GoodsInfoFeign;
import com.woniu.adminservice.service.GoodsDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Auther: huangjing  <br/>
 * Date: 2020/3/24$:17:30$  <br/>
 * Description:
 */
@Service
public class GoodsDataServiceImp implements GoodsDataService {
    @Autowired
    GoodsInfoFeign goodsInfoFeign;
    @Override
    public List selectGoodsInfo() {
       List goodsInfo= goodsInfoFeign.goodsInfoList();
        return goodsInfo;
    }
}